#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#include<string.h>

int mystrlen(char c[])
{
	int i = 0;
	while (c[i])
	{
		i++;
	}
	return i;
}
int main()
{
	int len;
	char c[20];
	while (gets(c) != NULL)
	{
		puts(c);
		len = strlen(c);
		printf("len=%d\n", len);
		len = mystrlen(c);
		printf("mylen = %d\n", len);
	}

	return 0;
}